import { colorsTuple } from "@mantine/core";

const primaryColor = '71, 85, 105';


/**
 * @description Create colors tuple for mantine theme
 * @returns {MantineColorsTuple} colors tuple
 */
export function createThemeColors() {
  let color = ''
  const colors = [];
  for (let i=1; i<=9; i++) {
    color = `rgba(${primaryColor}, 0.${i})`;
    
    if (i == 7) {
      colors.push(`rgba(${primaryColor}, 1)`);
      continue;
    }

    colors.push(color);
  }

  return colorsTuple(colors);
}